import request from "../utils/request"

export function AddressList(data) {
    return request.get('/address/selectall?usersid=' + data)
}

export function findAddress(addressid) {
    return request.get('/address/selectaddress?addressid=' + addressid)
}

export function editList(data) {
    return request.post('/address/updateaddress', data)
}


export function addList(data) {
    return request.post('/address/insertaddress', data)
}
export function delList(addressid) {
    return request.get('/address/deleteaddress?addressid=' + addressid)
}